package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>角色信息</li>
 * </ul>
 * @date 2022-11-03 23:57:34
 **/
@Data
@TableName(value = "SYS_ROLE_INFO")
public class RoleInfo extends BaseEntity {

    /**
     * 角色ID
     */
    @TableId(value = "ROLE_ID", type = IdType.ASSIGN_UUID)
    private String roleId;

    /**
     * 角色名称
     */
    @TableField(value = "ROLE_NAME")
    private String roleName;

    /**
     * 登录后首页
     */
    @TableField(value = "HOME_URL")
    private String homeUrl;

    /**
     * 排序号
     */
    @TableField(value = "SORT_NO")
    private Integer sortNo;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

}
